﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Coding4Fun.Cannon.TechEdPhone.Empty.Enums;
using Microsoft.Devices.Sensors;

namespace Coding4Fun.Cannon.TechEdPhone.Empty.Cannon
{
    public static class CannonUtility
    {
        public static double GetExactAngle(double value)
        {
            throw new NotImplementedException();
        }

        public static TurningAction GetTurn(double yAxis)
        {
            throw new NotImplementedException();
        }



        public static string FormattedString(this AccelerometerReading data)
        {
            string RawFormat = "0.00";

            return string.Format("X:{0}, Y:{1}, Z:{2}",
                data.X.ToString(RawFormat),
                data.Y.ToString(RawFormat),
                data.Z.ToString(RawFormat));
        }



    }
}
